<%@ page import="org.icress.fusion.wf.WorkflowHistory" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
    <g:set var="entityName" value="${message(code: 'admin.workflowHistory.label', default: 'Workflow History')}" />
    <title><g:message code="default.list.label" args="[entityName]" /></title>
</head>
<body>
<div class="nav">
	<shiro:hasPermission permission="workflowHistory:list">
	<span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
	</shiro:hasPermission>    
	<shiro:hasPermission permission="workflowHistory:create">
	<span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
	</shiro:hasPermission>
</div>
<div class="body">
    <h1><g:message code="workflowHistory.list" default="WorkflowHistory List" /></h1>
    <g:if test="${flash.message}">
    <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
    </g:if>
    <div class="list">
        <g:render template="/wf/workflowHistory/list" />
    </div>
    <div class="paginateButtons">
        <g:paginate total="${workflowHistoryInstanceTotal}" />
    </div>
</div>
</body>
</html>
